package com.entity;

import org.apache.commons.lang3.StringUtils;

public class MethodModelOfEntity {
    private String getName;
    private String setName;
    private String javaType;
    private String filed;
    /**
     * 注释
     */
    private String comment;
    private String dataColumn;

    private String startFiledName;

    private String getFileName;

    private Integer columnFlag=1;


    public String getDataColumn() {
        return dataColumn;
    }

    public void setDataColumn(String dataColumn) {
        this.dataColumn = dataColumn;
    }

    public String getSetName() {
        return setName;
    }

    public void setSetName(String setName) {
        this.setName = setName;
    }

    public String getGetName() {
        return getName;
    }

    public void setGetName(String getName) {
        this.getName = getName;
    }

    public String getJavaType() {
        return javaType;
    }

    public void setJavaType(String javaType) {
        this.javaType = javaType;
    }

    public String getFiled() {
        return filed;
    }

    public void setFiled(String filed) {
        this.filed = filed;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getStartFiledName() {
        return startFiledName;
    }

    public void setStartFiledName(String startFiledName) {
        this.startFiledName = startFiledName;
    }

    public Integer getStartFiledNameValue() {
        return StringUtils.isEmpty(startFiledName) ? 0 : 1;
    }

    public String getGetFileName() {
        return getFileName;
    }

    public void setGetFileName(String getFileName) {
        this.getFileName = getFileName;
    }

    public Integer getColumnFlag() {
        return columnFlag;
    }

    public void setColumnFlag(Integer columnFlag) {
        this.columnFlag = columnFlag;
    }
}
